<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>用户注册</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">

		<link rel="stylesheet" type="text/css" href="styles/login.css">


	</head>

	<body>
		<form action="Register.action" method="post">
			<div id="all">
				<table id="header">
					<tr>
						<td id="logotd">
							<img src="images/logo.png"></img>
						</td>
						<td id="titletd">
							注册用户
						</td>
					</tr>
				</table>
				<table id="main">
					<tr>
						<td class="lable">
							帐号：
						</td>
						<td>
							<input class="textbox" type="text" name="username" id="username" />
						</td>
					</tr>
					<tr>
						<td class="lable">
							昵称：
						</td>
						<td>
							<input class="textbox" type="text" name="nick" id="nick" />
						</td>
					</tr>
					<tr>
						<td class="lable">
							密码：
						</td>
						<td>
							<input class="textbox" type="password" name="password1"
								id="password1" />
						</td>
					</tr>
					<tr>
						<td class="lable">
							重复：
						</td>
						<td>
							<input class="textbox" type="password" name="password2"
								id="password2" />
						</td>
					</tr>
					<tr>
						<td></td>
						<td>
							<input class="btn" type="submit" value="注册" />
							&nbsp;
							<a href="LoginInit.action">已经有帐号？</a>
						</td>
					</tr>
					<tr>
						<td></td>
						<td class="note">
							<s:property value="messageTitle" />
							&nbsp;
							<s:property value="messageDetail" />
						</td>
					</tr>
				</table>
			</div>
		</form>
	</body>
</html>
